<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>录入本体</title>
<style>
  #container{
    height:600px;
    width:805px;
 
  }
    #box0{
   
     height:32px;
     margin-top:10px;
     margin-left:2%;
     
  }
  #box1{
   
     height:32px;
     margin-top:10px;
     margin-left:2%;
     
  }
  #box2{
    
     height:180px;
     margin-top:10px;
     margin-left:2%;
     width:730px";
     
  }
    #box3{
    
     height:180px;
     
     margin-left:2%;
     width:730px";
     
  }
    #box4{
     
     height:32px;
     margin-top:10px;
     margin-left:2%;
     
  }
  #box5{
     
     height:32px;
     margin-top:10px;
     margin-left:2%;
     
  }
  .tablestyle{
   text-align:center;
   font:normal normal 12pt 宋体;
   
   width:730px"
  }
  .tablestyle2{
    margin:0px auto;
    width:110px;
    height:32px;
    
  }
  .tableheaderstyle{
    
   
    height:32px;
  }
  .tabletitlestyle{
    text-align:center;
    background-color:#61b0e9;
  }
  .tablecaptionstyle{
   color:#3366cc;
   margin-top:20px;
   height:30px;
   line-height:30px;
  }
</style>
</head>
<body>
   <div id="container">
    <form action="doEditOntology" method="post">
     <div id="box0">
        <table  cellpadding="2" cellspacing="0" border="0">
      <tr>
      <td>1.本体文件名称:&nbsp;</td>
      <td>    <input type="text"  value="${ontologyInfo.ontologyFileName}" name="ontologyInfo.ontologyFileName" style="border:0" readonly="readonly" />
      </td>
     
    </tr>
    </table>
      </div>
      <div id="box1">
        <table  cellpadding="2" cellspacing="0" border="0">
      <tr>
      <td>2.装配体类型:&nbsp;  </td>
      <td>
       
       <input type="text" value="${ontologyInfo.ontologyType}" name="ontologyInfo.ontologyType" style="border:0" readonly="readonly" />
      </td>
      <td>&nbsp;&nbsp;装配体实例名称:&nbsp;</td>
      <td>
        <input type="text" value="${ontologyInfo.ontologyName}" name="ontologyInfo.ontologyName" style="border:0" readonly="readonly" />
      </td>
    </tr>
    </table>
      </div>
      <div id="box2">
      <div class="tableheaderstyle"> 
        3.装配体几何信息 
       </div>
      
      <div class="tablestyle">  
      
      <table width=100% align="center"  cellpadding="2" cellspacing="0" border="1">
     <tr>
      <td width=18% class="tabletitlestyle">名称</td>
      <td width=20% class="tabletitlestyle">单位</td>
      <td width=15% class="tabletitlestyle">技术参数</td>
      <td width=20% class="tabletitlestyle">名称</td>
      <td width=15% class="tabletitlestyle">单位</td>
      <td width=12% class="tabletitlestyle">技术参数</td>
     </tr>	
  <tr>
    <td  style="background-color:">&nbsp;长&nbsp;</td>
    <td style="text-align:center">cm(厘米)</td>
    <td>
     <INPUT class="input2" value="${ontologyInfo.length}" maxLength="10" name="ontologyInfo.length" size="6" > 
   
    </td>
    <td>&nbsp;内半径</td>
    <td style="text-align:center">cm(厘米)</td>
    <td>
     <INPUT class="input2" maxLength="10" value="${ontologyInfo.insideRadius}" name="ontologyInfo.insideRadius" size="6" > 
     </td>
  </tr>
  <tr>
    <td   style="" >&nbsp;宽</td>
    <td style="text-align:center">cm(厘米)</td>
    <td>
     <INPUT class="input2" maxLength="10"  value="${ontologyInfo.width}" name="ontologyInfo.width" size="6" > 
     </td>
    <td   style="">&nbsp;外半径</td>
    <td style="text-align:center">cm(厘米)</td>
    <td>
     <INPUT class="input2" maxLength="10" value="${ontologyInfo.outerRadius}" name="ontologyInfo.outerRadius" size="6" > 
    </td>
  </tr>
  <tr>
    <td   style="">&nbsp;高</td>
    <td  style="text-align:center">cm(厘米)</td>
    <td> <INPUT class="input2" maxLength="10" value="${ontologyInfo.height}"  name="ontologyInfo.height" size="6" > 
    </td>
    <td style="">&nbsp;形状</td>
    <td  style="text-align:center">&nbsp;</td>
    <td>
     <INPUT class="input2" maxLength="10" value="${ontologyInfo.shape}"  name="ontologyInfo.shape" size="6" > 
    </td>
  </tr>

       </table>
        </div>
    </div>    
    <div id="box3">
       <div class="tableheaderstyle">
        4.装配体物理属性信息
       </div>
      
      <div class="tablestyle">  
      
      <table width=100% align="center"  cellpadding="2" cellspacing="0" border="1">
     <tr>
      <td width=18% class="tabletitlestyle">名称</td>
      <td width=20% class="tabletitlestyle">单位</td>
      <td width=15% class="tabletitlestyle">技术参数</td>
      <td width=20% class="tabletitlestyle">名称</td>
      <td width=15% class="tabletitlestyle">单位</td>
      <td width=12% class="tabletitlestyle">技术参数</td>
     </tr>	
  <tr>
    <td  style="background-color:">&nbsp;质量&nbsp;</td>
    <td style="text-align:center">g(克)</td>
    <td>
     <INPUT class="input2" maxLength="10" value="${ontologyInfo.mass}" name="ontologyInfo.mass" size="6" > 
   
    </td>
    <td>&nbsp;密度</td>
    <td style="text-align:center">g/cm^3(克每平方厘米)</td>
    <td>
     <INPUT class="input2" maxLength="10" value="${ontologyInfo.density}" name="ontologyInfo.density" size="6" > 
     </td>
  </tr>
  <tr>
    <td   style="" >&nbsp;重心</td>
    <td style="text-align:center">cm(厘米)</td>
    <td>
     <INPUT class="input2" maxLength="10" value="${ontologyInfo.center}" name="ontologyInfo.center" size="6" > 
     </td>
    <td   style="">&nbsp;惯性矩</td>
    <td style="text-align:center">cm^4(厘米的四次方)</td>
    <td>
     <INPUT class="input2" maxLength="10" value="${ontologyInfo.inertia}"  name="ontologyInfo.inertia" size="6" > 
    </td>
  </tr>
  <tr>
    <td   style="">&nbsp;硬度</td>
    <td  style="text-align:center">HRC</td>
    <td> <INPUT class="input2" maxLength="10" value="${ontologyInfo.hardness}" name="ontologyInfo.hardness" size="6" > 
    </td>
    <td style="">&nbsp;材料</td>
    <td  style="text-align:center">&nbsp;</td>
    <td>
     <INPUT class="input2" maxLength="10" value="${ontologyInfo.material}" name="ontologyInfo.material" size="6" > 
    </td>
  </tr>
  

       </table>
        </div>
    </div>
    <div id="box4">
        <table  cellpadding="2" cellspacing="0" border="0">
      <tr>
      <td>5.&nbsp;装配约束类型 :&nbsp; </td>
      <td> <SELECT name="ontologyInfo.constraintType" >
            <OPTION value="surface_superposition">面面重合(surface_superposition)</OPTION>
            <OPTION value="parallel_surface">面面偏距(parallel_surface)</OPTION>
            <OPTION value="surface_alignment">面面对齐(surface_alignment)</OPTION>
            <OPTION value="tangent_surface">面面相切(tangent_surface)</OPTION>
            <OPTION value="parallel_line">线线平行(parallel_line)</OPTION>
            <OPTION value="line_alignment">线线重合(line_alignment)</OPTION>
            <OPTION value="coincidence_ point">点点重合(coincidence_ point)</OPTION>
            <OPTION value="point_surface">点在面上(point_surface)</OPTION>
            <OPTION value="point_line">点在线上(point_line)</OPTION>
            <OPTION value="line_surface">线在面上(line_surface)</OPTION>
       </SELECT>
      </td>
      <td>&nbsp;装配约束对象:&nbsp;</td>
      <td><input type="text" value="${ontologyInfo.constraintIndiv}" name="ontologyInfo.constraintIndiv"/></td>
    </tr>
    
    </table>
      </div>   
     <div id="box5">
      <div class="tablestyle2">
      <table  cellpadding="2" cellspacing="0" border="0">
        <tr>
       <td  colspan=6 align=right> 
            <input type="submit" value="提交"/>
            <input type="reset"  value="重置"/>
        </td>
      </tr>
      </table>
      </div>

    
    
      </div>   
      </form>  
   </div>  
</body>
</html>